package com.xwltz.service.impl;

import com.xwltz.repository.HomeRepository;
import com.xwltz.service.HomeService;
import org.springframework.stereotype.Service;

@Service
public class HomeServiceImpl implements HomeService {

    private final HomeRepository homeRepository;

    public HomeServiceImpl(HomeRepository homeRepository) {
        this.homeRepository = homeRepository;
    }

    @Override
    public String doService(Double score) {
        return homeRepository.doRepository(score);
    }
}
